home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
ACORNUSERS
/
EMULATOR
/
GBDK
/
!GBDK
/
lib
/
h
/
stdarg
< prev
next >
Wrap
Text File
|
1996-02-26
|
424b
|
18 lines
#ifndef __STDARG
#define __STDARG
#if !defined(_VA_LIST)
#define _VA_LIST
typedef char *__va_list;
#endif
typedef __va_list va_list;
#define va_start(list, start) \
((void)((list) = (char *)&start + sizeof(start)))
#define __va_arg(list, mode, n) \
*(mode *)(&(list += ((sizeof(mode)+n)&~n))[-(int)((sizeof(mode)+n)&~n)])
#define va_end(list) ((void)0)
#define va_arg(list, mode) __va_arg(list, mode, 1U)
#endif